package com.meta.act.app.tenant.page;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * page base req
 *
 * @Title:
 * @Package: com.metafnt.house.ddd.infrastructure.domain.base.
 * @Author: M.simple
 * @Remark: The modified content
 * @CreateDate: 2019-11-30 16:21
 * @Version: v2.0
 */
@Data
public class PageReq {

	private int pageNo = 1;

	private int pageSize = 20;

	@ApiModelProperty(value = "标识位", hidden = true)
	private int start;


	public int getStart() {
		return (pageNo-1) * pageSize;
	}
}
